import { Modal } from 'antd'
import React from 'react'
import LwjTable from 'components/LwjTable/LwjTable'
import moment from 'moment'
import GeneralFilter from 'components/Filter/GeneralFilter'

const MaterialTable = ({...modalTableProps}) => {
  const columns = [
    {
      title: '物料编码',
      dataIndex: 'stockNumber',
      key: 'stockNumber'
    }, {
      title: '名称/单位',
      dataIndex: 'name',
      key: 'name'
    }, {
      title: '类型',
      dataIndex: 'typeName',
      key: 'typeName',
    }
  ]

  return (
    <LwjTable
      {...modalTableProps}
      columns={columns}/>
  )
}

export default MaterialTable
